﻿using System.Collections.Generic;
using System.Threading.Tasks;
using WeChat.BaseInterface.BaseModel;
using WeChat.BaseInterface.Service;
using WeChat.Dto.Users;

namespace WeChat.IService
{
    /// <summary>
    /// 用户服务 接口
    /// </summary>
    public interface IUsersService : IWeChatService
    {
        /// <summary>
        /// 创建用户
        /// </summary>
        /// <returns></returns>
        Task<bool> CreateAsync(CreateUsersInput input);

        /// <summary>
        /// 获取所有
        /// </summary>
        /// <returns></returns>
        Task<List<GetAllUsersDto>> GetAllUserAsync();
    }
}
